/*
 * Copyright 2011-2020 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0.
 * See `LICENSE` in the project root for license information.
 */

package me.ijleex.platform.system.role.entity;

import org.apache.ibatis.type.Alias;

import me.ijleex.platform.framework.entity.EntitySupport;

/**
 * 角色表 t_sys_role
 *
 * @author liym
 * @since 2019-03-14 11:19:03 By 'codegen'
 */
@Alias("Role")
public class Role extends EntitySupport /*implements GrantedAuthority*/ {

    /** ID */
    private Long id;
    /** 角色名称 */
    private String name;
    /** 描述信息 */
    private String description;
    /** 备注 */
    private String remarks;

    /** 状态 0-正常 1-禁用 */
    private Integer state;

    public Role() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    ///@Override
    ///public String getAuthority() {
    ///    return this.name;
    ///}
}
